<?php
class Solicitudes_Form_Extensionactividades extends Form_Cna {
	
		
	public function __construct($options = null) {
		parent::__construct($options);
	}
	
	public function init() {
	    $this->setName ( 'extactividades' );
		$this->setMethod("POST");
        
		$array_elements[] = new Zend_Form_Element_Hidden("codproceso");
		$array_elements[] = new Zend_Form_Element_Hidden("codactextension");
		$array_elements[] = new Zend_Form_Element_Hidden("codseccionlista");
                
		$element = new Zend_Form_Element_Textarea('actividad');
		$element->setLabel('Proyectos de extensión o Actividades :');
		$element->setRequired(true);
		$element->addFilter('StripTags');
		$element->addFilter('StringTrim');
		$element->setAttrib("rows",2);
		$element->setAttrib("style","width:99%");
        $array_elements[] = $element;
                
		$element = new Zend_Form_Element_Textarea('cordinadores');
		$element->setLabel('Coordinador (es):');
		$element->setRequired(true);
		$element->addFilter('StripTags');
		$element->addFilter('StringTrim');
		$element->setAttrib("rows",2);
		$element->setAttrib("style","width:99%");
        $array_elements[] = $element;
                
		$element = new Zend_Form_Element_Textarea('usuarios');
		$element->setLabel('Usuarios :');
		$element->setRequired(true);
		$element->addFilter('StripTags');
		$element->addFilter('StringTrim');
		$element->setAttrib("rows",2);
		$element->setAttrib("style","width:99%");
        $array_elements[] = $element;
		
		
		$element = new Zend_Form_Element_Submit ( 'btnSubmit' );
		$element->setValue('Guardar');
		$element->setLabel("Guardar");
		$element->setAttrib("class", "iceCmdBtn");
		$array_elements[] = $element;
		
		$this->addElements ($array_elements);
		$this->loadTableDecorators();
	}
	
}